import styled from 'styled-components';

export const StatisticWrapper = styled.section`
  background: #fff;
  max-height: calc(100vh - 60px - 160px - 56px);
  overflow: auto;
  > .container {
    > .date-section {
      padding: 0 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #ddd;

      > h3 {
        font-size: 18px;
        line-height: 20px;
        padding: 10px 0;
      }
      > .amount {
        font-weight: bold;
      }
    }
    > .record-section {
      padding: 0 16px;
      > .record-item {
        display: flex;
        justify-content: space-between;
        font-size: 18px;
        line-height: 20px;
        padding: 10px 0;
        border-top: 1px solid #e5e5e7;
        &:first-child {
          border-top: none;
        }
        > .note {
          margin-right: auto;
          margin-left: 16px;
          color: #999;
        }
      }
    }
  }
`;
